From 74dc58897165a296add8002376865a7c8aa1c1ea Mon Sep 17 00:00:00 2001 From: parkrrrr Date: Thu, 17 Mar 2005 15:47:26 +0000 Subject: [PATCH] MSVC 6 doesn't know about stdint.h --- gbtypes.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gbtypes.h b/gbtypes.h index b8d5b771a..1532ed26b 100644 --- a/gbtypes.h +++ b/gbtypes.h @@ -25,6 +25,14 @@ * include a gross collection of __STDC_VERSION >= 199901L || __GNUC__ */ +#if defined(_MSC_VER) && (_MSC_VER == 1200) + +typedef unsigned long gbuint32; +typedef unsigned short gbuint16; +typedef long gbint32; +typedef short gbint16; + +#else #include @@ -32,3 +40,6 @@ typedef uint32_t gbuint32; typedef uint16_t gbuint16; typedef int32_t gbint32; typedef int16_t gbint16; + +#endif // defined(_MSC_VER) && (_MSC_VER == 1200) + -- 2.30.2